<div class="page-right">
        <form action="<?php echo base_url();?>admin/product/save" method="post" name="editproduct" id="createuser" class="add:users: validate" enctype="multipart/form-data">
                <table class="form-table">
            	<tr class="form-field form-required">
            		<th scope="row"><label for="user_login">Tên sản phẩm <span class="description"></span></label></th>
            		<td><input name="name" type="text" id="name" value="" /></td>
            	</tr>
            	<tr class="form-field form-required">
            		<th scope="row"><label for="email">Alias <span class="description"></span></label></th>
            		<td><input name="alias" type="text" id="alias" value="" />
                        <br />
                        <span class="description">Tên sản phẩm hiển thị trên thanh url</span>
                    </td>
            	</tr>
                
                <tr class="form-field">
            		<th scope="row"><label for="role">Loại nhu yếu phẩm</label></th>
            		<td>
                    <select name="category" id="category">		
                    	<option selected='selected' value='subscriber'>--- Chọn loại nhu yếu phẩm ---</option>
                        <?php foreach($category as $items) {?>
                    	<option value="<?php echo $items->category_product_id;?>"><?php echo $items->category_product_name;?></option>
                    	<?php } ?>
                </select>
            		</td>
            	</tr>
                <tr class="form-field">
            		<th scope="row"><label for="last_name">Số lượng </label></th>
            		<td><input name="quanlity" type="text" id="quanlity" value="" /></td>
            	</tr>
            	<tr class="form-field">
            		<th scope="row"><label for="first_name">Giá </label></th>
            		<td><input name="price" type="text" id="price" value="" /></td>
            	</tr>
            	<tr class="form-field">
            		<th scope="row"><label for="last_name">% Chiết khấu </label></th>
            		<td><input name="discount" type="text" id="discount" value="" /></td>
            	</tr>
            	<tr class="form-field">
            		<th scope="row"><label for="url">Đặc tính</label></th>
            		<td><?php echo $this->ckeditor->editor('property');?><br />
                        <span class="description">Đặc tính của sản phẩm</span>
                    </td>
            	</tr>
            	<tr class="form-field form-required">
            		<th scope="row"><label for="pass1">Bảo quản <span class="description"></span></label></th>
            		<td>
                        <?php echo $this->ckeditor->editor('store');?><br />
                        <span class="description">Cách bảo quản sản phẩm</span>
            		</td>
            	</tr>
            	<tr>
            		<th scope="row"><label for="send_password">Sử dụng</label></th>
            		<td><?php echo $this->ckeditor->editor('use');?><br />
                        <span class="description">Hướng dẫn cách sử dụng</span>
                    </td>
            	</tr>
            	
                <tr>
                	<th><label for="description">Chi tiết</label></th>
                	<td><?php echo $this->ckeditor->editor('desciption');?><br />
                	<span class="description">Mô tả chi tiết sản phẩm (cả hình ảnh)</span></td>
                </tr>
                
                <tr class="form-field">
            		<th scope="row"><label for="last_name">Hình ảnh </label></th>
            		<td><input name="image" type="file" id="" value="" class="image-product" />
                        <br />
                        <span class="description">Hình chính của sản phẩm (Hiển thị trang chủ)</span>
                    </td>
            	</tr>
                
                 <tr class="form-field">
            		<th scope="row"><label for="last_name">Hình ảnh 1 </label></th>
            		<td><input name="image1" type="file" id="" value="" class="image-product" /></td>
            	</tr>
                
                 <tr class="form-field">
            		<th scope="row"><label for="last_name">Hình ảnh 2 </label></th>
            		<td><input name="image2" type="file" id="" value="" class="image-product" /></td>
            	</tr>
                
                 <tr class="form-field">
            		<th scope="row"><label for="last_name">Hình ảnh 3</label></th>
            		<td><input name="image3" type="file" id="" value="" class="image-product" /></td>
            	</tr>
                
                 <tr class="form-field">
            		<th scope="row"><label for="last_name">Hình ảnh 4 </label></th>
            		<td><input name="image4" type="file" id="" value="" class="image-product" /></td>
            	</tr>
                
                 <tr class="form-field">
            		<th scope="row"><label for="last_name">Hình ảnh 5</label></th>
            		<td><input name="image5" type="file" id="" value="" class="image-product" /></td>
            	</tr>
                
                <tr>
            		<th scope="row"><label for="send_password">Hiển thị</label></th>
            		<td><label for="send_password"><input type="radio" name="publish" id="publish" value="1" checked="true" /> </label>
                        <span>Yes</span> 
                        <label for="send_password"><input type="radio" name="publish" id="publish2" value="0"   /> </label>
                        <span>No</span>
                    </td>
            	</tr>
                <tr class="form-field">
            		<th scope="row"><label for="last_name">Thứ tự </label></th>
            		<td><input name="order" type="text" id="order" value="" />
                        <br />
                        <span class="description">Thứ tự của sản phẩm</span>
                    </td>
            	</tr>
                <input type="hidden" name="id" value="0"/>
            	</table>
        <p class="submit"><input type="submit" name="createuser" id="createusersub" class="button-primary" value="Lưu lại "  /></p>
    </form>
</div>